package com.weilai.common.dao;

import com.weilai.common.model.Prize;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PrizeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Prize record);

    int insertSelective(Prize record);

    Prize selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Prize record);

    int updateByPrimaryKey(Prize record);

    List<Prize> findPrizeList(Prize prize);
    void updateById(int id);

}